<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use Auth;

class ShopController extends Controller
{
  public function __construct()
  {
      $this->middleware('auth:shop');
  }

  public function index()
  {
      $admin = Auth::guard('shop')->user();
      return $admin->name;
  }
}
